import { accountType, IVideoMedia, meetingStatus } from '../global/interface'

export interface FetchMeetingListItem {
	meeting_moid: string
	conf_id: string
	name: string
	duration: number
	conf_type: 0 | 1 | 2
	start_time: string
	creator: {
		name: string
		mobile: string
		telephone: string
	}
	meeting_room: []
	mt: {
		name: string
		account: string
		account_type: accountType
		portrait32: string
		security_level: number
	}[]
	mt_size: string
	max_join_mt: number
	cascade_meeting: 0 | 1
	encrypted_type: 0 | 2 | 3 | 4
	quantum_encryption: 0 | 1
	conf_category: 0 | 1
	enable_audience: 0 | 1
	state: meetingStatus
	security_level: number
}
export interface FetchSimpleMccInfo {
	meeting_moid: string
	conf_id: string
	name: string
	vmr_name: string
	live_url: string
	encrypted_type: 0 | 2 | 3 | 4
	safe_conf: 0 | 1
	conf_type: 0 | 1 | 2
	closed_conf: 0 | 1
	duration: number
	creator: {
		account: string
		account_type: accountType
		name: string
		mobile: string
		telephone: string
	}
	max_join_mt: number
	quantum_encryption: 0 | 1
	enable_audience: 0 | 1
	video_formats: IVideoMedia[]
	start_time: string
	end_time: string
	dual_mode: 0 | 1
	online_num: number
	total_num: number
	recorder: {
		publish_mode: 0 | 1
		anonymous: 0 | 1
		dual_stream: 0 | 1
	}
}
